<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="<c:url value="/css/estilos.css"/>">
        <script type="text/javascript" src="<c:url value="/js/elogi.js"/>"></script>
        <script type="text/javascript" src="<c:url value="/js/jquery-1.3.2.js"/>"></script>    	
    </head>
    <body marginwidth="0" marginheight="0">
    	<br>
        <center>
            <form:form modelAttribute="usuario" action="${pageContext.request.contextPath}/cambiarpassword.do">
                <table align="center" width="400" class="tblmensaje">
                <tr><td align='left'><a href="<c:url value="/inicio.do"/>"><img alt="Cancelar" border="0" src="<c:url value="/img/delete.gif"/>"/><spring:message code="aplicacion.cancelar"/></a></td></tr>
                </table>
                <table class="tbllogin" width="400">
                    <tbody>
                        <tr height="20"><th class="tit10b" valign="middle" colspan="2">Cambio de Password</th></tr>
                        <tr><td colspan="2">&nbsp;</td></tr>
                        <tr>
                            <td width="35%" align="right"><strong>Usuario:</strong></td>
                            <td><form:input cssClass="tit" path="deCodigo" size="15" maxlength="15"/>&nbsp;*&nbsp;<span style='color:red'><form:errors path="deCodigo"/></span></td>
                        </tr>
                        <tr>
                            <td align="right"><strong>Password:</strong></td>
                            <td><form:password cssClass="tit2" path="dePassword" size="15" maxlength="15"/>&nbsp;*&nbsp;<span style='color:red'><form:errors path="dePassword"/></span></td>
                        </tr>
                        <tr>
                            <td align="right"><strong>Password Nuevo:</strong></td>
                            <td><form:password cssClass="tit2" path="dePassword1" size="15" maxlength="15"/>&nbsp;*&nbsp;<span style='color:red'><form:errors path="dePassword1"/></span></td>
                        </tr>
                        <tr>
                            <td align="right"><strong>Reingrese Password:</strong></td>
                            <td><form:password cssClass="tit2" path="dePassword2" size="15" maxlength="15"/>&nbsp;*&nbsp;<span style='color:red'><form:errors path="dePassword2"/></span></td>
                        </tr>
                        <tr height="40">
                            <td align="center" colspan="2" valign="middle">
                                <input name="Iniciar" type="submit" id="Iniciar" value="Cambiar Password " class=FormButtonsGreen onFocus="javascript:this.className='FormButtonsGreen_Over'" onBlur="javascript: this.className='FormButtonsGreen'" onMouseDown="javascript: this.className='FormButtonsGreen_Press'" onMouseOver="javascript: this.className='FormButtonsGreen_Over'" onMouseOut="javascript:this.className='FormButtonsGreen'">
                            </td>
                        </tr>
                    </tbody>
                </table>
            </form:form>
            <table>
                <tr>
                    <td align="center">
                        <div align="center" style="margin-left:300px;"></div>
                    </td>
                </tr>
                <tr>
                    <td height="11" align="center" valign="top"><font color="#666666">
                        Soporte HelpDesk:  T.  01234567 Anexo 166 RPC 999999999 / rpm 999999999 <br>
                    E-mail: soportetecnico@consorcioryo.com.pe</font></td>
                </tr>
                <tr>
                    <td height="17" align="center" valign="top"></td>
                </tr>
            </table>
        </center>
    </body>
    <script type="text/javascript">
    	  setFocus();
    	  $('input').focus(function() {
    		$(this).addClass("focus");
    	  });
    	  $('input').blur(function() {
    		$(this).removeClass("focus");
    	  });
   </script>
</html>